<!-- this comment should not become the documentElement,
     if it does then the page will be blank -->
<html>
<body>
<script>
if (document.documentElement.nodeType == Node.ELEMENT_NODE)
    document.write("SUCCESS");
else
    document.write("FAIL");
</script>
</body>
</html>
